package my.test.mould;

public abstract class AbstractClass {
    public  abstract void doSomething();
    public  abstract void doAnything();
    //模板方法
    public void templateMethod() {
        this.doAnything();
        this.doSomething();
    }
}
